<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no, email=no" />
    <meta name="keywords" content="关键字" />
    <meta name="description" content="描述" />
    <title>demo</title>
    <link rel="stylesheet" href="css/style.css" />
    <link rel="stylesheet" href="css/swiper.min.css" />
    <link rel="stylesheet" href="css/animate.min.css" />
    <script src="js/jquery-1.8.0.min.js"></script>
    <script src="js/swiper.min.js"></script>
    <script src="js/swiper.animate1.0.2.min.js"></script>
    <script>
        function resize(originSize,type) {
            var type=type||"x";
            var widths=document.documentElement.clientWidth;
            var heights=document.documentElement.clientHeight;
            if(type=="x"){
                var scalex=widths/originSize*100;
                document.querySelector("html").style.fontSize=scalex+"px";
            }else if(type=="y"){
                var scaley=heights/originSize*100;
                document.querySelector("html").style.fontSize=scaley+"px";
            }
        }
        resize(750*2.5);
    </script>
</head>
<body>
<div class="swiper-container">
    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <div class="center-two">
                <div class="title">Chapter<br>One</div>
				<div class="content">Globalization</div>
				<div class="btn" onclick="location.href='demo.html'">点击</div>
            </div>
        </div>
    </div>
</div>
<img src="image/fei/fei1.png" alt="" class="hide">
<img src="image/fei/fei2.png" alt="" class="hide">
<img src="image/fei/fei3.png" alt="" class="hide">
<img src="image/fei/fei4.png" alt="" class="hide">
<img src="image/fei/fei5.png" alt="" class="hide">
<img src="image/fei/fei6.png" alt="" class="hide">
<img src="image/fei/fei7.png" alt="" class="hide">

<script type="text/javascript">
    $(".swiper-container").width($(window).width()).height($(window).height());
    var mySwiper = new Swiper('.swiper-container', {
        width:$(window).width(),
        height:$(window).height(),
        direction : 'vertical',
        onInit: function(swiper){ //Swiper2.x的初始化是onFirstInit
            swiperAnimateCache(swiper); //隐藏动画元素
            swiperAnimate(swiper); //初始化完成开始动画

        },
        onSlideChangeEnd: function(swiper){
            swiperAnimate(swiper); //每个slide切换结束时也运行当前slide动画
        }
    });
</script>
</body>
</html>